package callback;

import pojo.ChessOnlineRoom;
import transfer.IntegerData;
import client.Client;

public class StartGameCallback extends ClientCallback {

	private ChessOnlineRoom mRoom;
	
	public StartGameCallback(Client client, ChessOnlineRoom room) {
		super(client);
		
		this.mRoom = room;
	}
	
	@Override
	public void perform() {
		mMainScreen.getCw().sendObject(new IntegerData("Start Game",mRoom.getRoomId()));
		//mMainScreen.startGame(mRoom);
	}

}
